#define GRID_SIZE_X 64
#define GRID_SIZE_Y 64

#define NUM_ELEMENTS (GRID_SIZE_X*GRID_SIZE_Y)
#define NUM_NODES ((GRID_SIZE_X+1)*(GRID_SIZE_Y+1))

#define NODE_INDEX(x,y) ((GRID_SIZE_X+1)*(y)+(x))
#define ELEMENT_INDEX(x,y) (GRID_SIZE_X*(y)+(x))

#define MIN_TRANSFER_LEVEL -10
#define MAX_TRANSFER_LEVEL 10